package com.zmj.sy.mom.srv.aps.mapper;

import com.zmj.sy.mom.srv.aps.bean.entity.order.ReverseDetail;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface ReverseDetailMapper extends SyMapper<ReverseDetail> {

    @Select(" delete from tb_reverse_detail where order_id = #{id} ")
    void deleteHard(@Param("id") Integer id);

    @Select(" delete from tb_reverse_detail where phase_id = #{id} ")
    void deleteByPhaseId(@Param("id") Integer id);
}
